package com.clickpaas.governmentcloud.entity.portalentity.rep;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 方延杰
 * @version 1.0
 * @since 2020/12/8 11:28 上午
 */
@Data
@NoArgsConstructor
@ApiModel("政策数据中心")
public class PolicyDataCenter {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("标题一")
    private String titleOne;

    @ApiModelProperty("长三角政策总数")
    private Integer totalNumoftheYangtzeRiverDeltaPolicy;

    @ApiModelProperty("今日申报政策数")
    private Integer numofPolicyDeclaredToday;

    @ApiModelProperty("政策发布机构数")
    private Integer numofInstitutionsPublishedPolicy;

    @ApiModelProperty("标题二")
    private String titleTwo;

    @ApiModelProperty("上海政策总数")
    private Integer totalNumofShanghaiPolicy;

    @ApiModelProperty("Y轴最大值")
    private Integer ymax;

    private List<HorizontalAxis> horizontalAxes = new ArrayList<>();

    @Data
    @NoArgsConstructor
    @ApiModel("X轴数据")
    public static class HorizontalAxis {

        @ApiModelProperty("主键")
        private String id;

        @ApiModelProperty("内容")
        private String horizontalAxisOne;

        @ApiModelProperty("数量")
        private Integer numOne;
    }

}
